package com.example.qiniutest.image.vo;

public class FileVo {

    private Boolean success = true;

    private String errorCode;

    private String errorMsg;

    private String downloadUrl;

    public FileVo(String downloadUrl) {
        this.success=true;
        this.downloadUrl = downloadUrl;
    }

    public FileVo(Boolean success, String errorCode, String errorMsg) {
        this.success = success;
        this.errorCode = errorCode;
        this.errorMsg = errorMsg;
    }

    public FileVo(Boolean success, String errorCode, String errorMsg, String downloadUrl) {
        this.success = success;
        this.errorCode = errorCode;
        this.errorMsg = errorMsg;
        this.downloadUrl = downloadUrl;
    }

    public Boolean getSuccess() {
        return success;
    }

    public void setSuccess(Boolean success) {
        this.success = success;
    }

    public String getErrorCode() {
        return errorCode;
    }

    public void setErrorCode(String errorCode) {
        this.errorCode = errorCode;
    }

    public String getErrorMsg() {
        return errorMsg;
    }

    public void setErrorMsg(String errorMsg) {
        this.errorMsg = errorMsg;
    }

    public String getDownloadUrl() {
        return downloadUrl;
    }

    public void setDownloadUrl(String downloadUrl) {
        this.downloadUrl = downloadUrl;
    }
}
